import { useCallback, useState } from "react";

export default () => {
    const [globalVariableStore, setGlobalVariableStore] = useState([{
        name: 'Example',
        value: 'Example Value'
    }])
    const changeGlobalVariableStore = useCallback((value) => {
        setGlobalVariableStore(() => {
            return value
        })
    }, [])
    return {
        globalVariableStore: globalVariableStore,
        setGlobalVariableStore: setGlobalVariableStore
    }
}
